<div id="blockCont">
<table border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td valign="top"><div class="Col">
<tal:block tal:content="structure php: this.partial('myactivity/myactivity.html')"/>
</div></td>
	<td valign="top"><div class="Col">
<div class="ModuleBlock">
<h1>
<label>Tocks</label>
<div><a href="/triggers/index/triggers-personal"  ><img src="/images/HomeIcon.png" alt="Settings" width="15" height="17" border="0" align="top" class="SetIcon" title="Settings"/></a></div><div class="wid186"><input type="text" value="search" /><a href="#"><img src="/images/ModSearchIcon.png" border="0" class="SerImg" /></a></div>
</h1>
<div class="clear"></div>
<ul class="ModuleMenu">
<li><a href="/triggers/settings/triggers-settings">Connect/Share</a> </li>
<li><a href="/triggers/settings/triggers-notices" class="active">Notices</a> </li>
<li><a href="/triggers/settings/groups">Groups</a> </li>
</ul>
<div class="clear hig20"></div>

<div class="pad_a ModuleHig">
<form enctype="multipart/form-data" id="messageform" name="messageform" method="POST" action="/triggers/settings/save-notifications" >
<div align="right" class="txt_sm pad_b15"><a href="#">Send Email?</a></div>
<div>


<div class="Fleft pad_t5 pad_r15 pad_b15 wid250">Comments on my shared Tocks</div>
<?php 
if($ctx->Notifications[0]['mytrigger_comments'] == "on" || $ctx->Notifications['mytrigger_comments'] == "") 
{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox1" id="checkbox1" checked="checked"/></div>
<?php } else { ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox1" id="checkbox1"/></div>
<?php } ?>
<div class="clear"></div>
</div>
<div>
<div class="Fleft pad_t5 pad_r15 pad_b15 wid250">Others Shared Tocks</div>
<?php if($ctx->Notifications[0]['others_shared_triggers'] == "on" || $ctx->Notifications['others_shared_triggers'] == "") { ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox2" id="checkbox2" checked="checked"/></div>
<?php } else{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox2" id="checkbox2"/></div>
<?php } ?>
<div class="clear"></div>
</div>
<div>
<div class="Fleft pad_t5 pad_r15 pad_b15 wid250">Comments on others shared Tocks</div>
<?php 
if($ctx->Notifications[0]['comments_others_shared'] == "on" || $ctx->Notifications['comments_others_shared'] == "") 
{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox3" id="checkbox3" checked="checked"/></div>
<?php } else{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox3" id="checkbox3"/></div>
<?}?>
<div class="clear"></div>
</div>
<div class="pad_t15">
<div class="Fleft pad_t5 pad_r15 pad_b15 wid250">Adds you as a friend</div>
<?php if($ctx->Notifications[0]['confirm_friend_request'] == "on") { ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox4" id="checkbox4" checked="checked"/></div>
<?php } else{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox4" id="checkbox4"/></div>
<?php } ?><div class="clear"></div>
</div>
<div>
<div class="Fleft pad_t5 pad_r15 pad_b15 wid250">Confirms a friend request</div>
<?php 
if($ctx->Notifications[0]['add_friend'] == "on") 
{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox5" id="checkbox5" checked="checked"/></div>
<?php } else{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox5" id="checkbox5"/></div>
<?}?><div class="clear"></div>
</div>
<div>
<div class="Fleft pad_t5 pad_r15 pad_b15 wid250">When a person adds me to his group</div>
<?php 
if($ctx->Notifications[0]['addto_group'] == "on") 
{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox6" id="checkbox6" checked="checked"/></div>
<?php } else{ ?>
<div class="Fleft pad_t5"><input type="checkbox" name="checkbox6" id="checkbox6"/></div>
<?}?>
<div class="clear"></div>
</div>
<div style="float:right">
<a class="Button" href="javascript:void(0);" onclick="submitform()">
<span>Save</span>
</a>
</div>
</form>
</div>





<div class="clear"></div>
</div>
</div></td>
	<td valign="top"><div class="Col">
<tal:block tal:omit-tag="" tal:content="structure php: this.action('index','activity','triggers')" />
</div></td>
<td valign="top">
<div class="ColBanner">
<div class="ModuleBlock">
<img src="/images/Gads.gif" /><img src="/images/Gads.gif" /></div>
</div></td>
  </tr>
</table>

<div class="clear"></div>
</div>
<div class="clear"></div>

<!-- Chat Window  -->
<div class="Chatbox">
<div class="Fleft pad_t2"><img src="/images/ChatAviIcon.png" /></div>
<div class="Fleft fontWht pad_115"><strong>Harinath</strong></div>
<div class="Fright"><a href="#" class="ChatBt"><strong>X</strong></a></div>
<div class="Fright"><a href="#" class="ChatBt txt18"><strong>-</strong></a></div>
</div>
<script>
//<![CDATA[

function submitform()
{
	$('#messageform').submit();
	
}
function showDiv(type)
{
	if(type == 'r')
	{
		$('#rec').addClass("active");
		$('#sent').removeClass("active");
		$('#sentId').hide();
		$('#recId').show();
	} else {
		//alert(type);
		$('#rec').removeClass("active");
		$('#sent').addClass("active");
		$('#sentId').show();
		$('#recId').hide();
	}

}
//]]>
</script>
